package com.lzp.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.lzp.query.WechatBillPageQuery;
import com.lzp.entity.WechatBill;
import com.lzp.mapper.WechatBillMapper;
import com.lzp.service.WechatBillService;
import lombok.SneakyThrows;
import org.springframework.stereotype.Service;
import org.springframework.web.multipart.MultipartFile;

import java.io.File;
import java.util.List;

/**
 * @author lzp
 * @version 1.0.0
 * @date 2022/5/8 23:15:45
 * @apiNote 账单查询实现类
 */
@Service
public class WechatBillServiceImpl extends ServiceImpl<WechatBillMapper,WechatBill> implements WechatBillService {
    @SneakyThrows
    @Override
    public String upload(MultipartFile file) {
        //上传账单文件/从微信(支付宝)获取账单
        //执行批处理流程
        //保存到数据库
        //导出为表单/sql文件备份
     return null;
    }

    @Override
    public List<WechatBill> selectList(WechatBillPageQuery wechatBillPageQuery) {
        //todo 查询账单list
        return null;
    }
}
